package bb.lanxing.guide.device;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import bb.lanxing.R;
import bb.lanxing.util.DensityUtil;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

public final class FGHomeGuideComponent implements Component {
    @Override
    public int getAnchor() {
        return 4;
    }

    @Override
    public int getFitPosition() {
        return 48;
    }

    @Override
    public View getView(LayoutInflater inflater, View mTargetView) {
        Intrinsics.checkNotNullParameter(inflater, "inflater");
        Intrinsics.checkNotNullParameter(mTargetView, "mTargetView");
        View inflate = inflater.inflate(R.layout.layout_guide_fg_home, (ViewGroup) null);
        Intrinsics.checkNotNullExpressionValue(inflate, "inflater.inflate(R.layou…yout_guide_fg_home, null)");
        return inflate;
    }

    @Override
    public int getXOffset() {
        return -DensityUtil.dp2px(6.0f);
    }

    @Override
    public int getYOffset() {
        return -DensityUtil.dp2px(13.0f);
    }
}